package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the ACTOS_TITULO_FIDEICOMISMO database table.
 * 
 */
//@Entity
@Table(name="ACTOS_TITULO_FIDEICOMISMO")
public class ActosTituloFideicomismo implements Serializable {
	private static final long serialVersionUID = 1L;
	private String agntSync;
	private String coActoRgstOrig;
	private String codActo;
	private String codRubro;
	private String estado;
	private BigDecimal montoTotActo;
	private BigDecimal nsActoTitu;
	private BigDecimal nuAsiento;
	private BigDecimal nuPagFin;
	private BigDecimal nuPagIni;
	private BigDecimal refnumTitu;
	private Date tsUltSync;

    public ActosTituloFideicomismo() {
    }


	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="CO_ACTO_RGST_ORIG", length=5)
	public String getCoActoRgstOrig() {
		return this.coActoRgstOrig;
	}

	public void setCoActoRgstOrig(String coActoRgstOrig) {
		this.coActoRgstOrig = coActoRgstOrig;
	}


	@Column(name="COD_ACTO", nullable=false, length=5)
	public String getCodActo() {
		return this.codActo;
	}

	public void setCodActo(String codActo) {
		this.codActo = codActo;
	}


	@Column(name="COD_RUBRO", length=3)
	public String getCodRubro() {
		return this.codRubro;
	}

	public void setCodRubro(String codRubro) {
		this.codRubro = codRubro;
	}


	@Column(length=1)
	public String getEstado() {
		return this.estado;
	}

	public void setEstado(String estado) {
		this.estado = estado;
	}


	@Column(name="MONTO_TOT_ACTO", nullable=false, precision=12, scale=2)
	public BigDecimal getMontoTotActo() {
		return this.montoTotActo;
	}

	public void setMontoTotActo(BigDecimal montoTotActo) {
		this.montoTotActo = montoTotActo;
	}


	@Column(name="NS_ACTO_TITU", nullable=false, precision=5)
	public BigDecimal getNsActoTitu() {
		return this.nsActoTitu;
	}

	public void setNsActoTitu(BigDecimal nsActoTitu) {
		this.nsActoTitu = nsActoTitu;
	}


	@Column(name="NU_ASIENTO", precision=5)
	public BigDecimal getNuAsiento() {
		return this.nuAsiento;
	}

	public void setNuAsiento(BigDecimal nuAsiento) {
		this.nuAsiento = nuAsiento;
	}


	@Column(name="NU_PAG_FIN")
	public BigDecimal getNuPagFin() {
		return this.nuPagFin;
	}

	public void setNuPagFin(BigDecimal nuPagFin) {
		this.nuPagFin = nuPagFin;
	}


	@Column(name="NU_PAG_INI")
	public BigDecimal getNuPagIni() {
		return this.nuPagIni;
	}

	public void setNuPagIni(BigDecimal nuPagIni) {
		this.nuPagIni = nuPagIni;
	}


	@Column(name="REFNUM_TITU", nullable=false)
	public BigDecimal getRefnumTitu() {
		return this.refnumTitu;
	}

	public void setRefnumTitu(BigDecimal refnumTitu) {
		this.refnumTitu = refnumTitu;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}